/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jili.ubert.code;

import com.baidu.bjf.remoting.protobuf.EnumReadable;

/**
 *
 * @author CHengJILI
 */
public enum OrderTypeEmit implements EnumReadable {
    M_Client(1) { public String getCode() {return "MC";} public String getName() {return "手工：客户端"; }},
    A_Simple(2) { public String getCode() {return "AS";} public String getName() {return "自动：条件"; }},
    A_Art(3) { public String getCode() {return "AA";} public String getName() {return "自动：算法"; }},
    A_P(4) { public String getCode() {return "AP";} public String getName() {return "自动：程序"; }},
    EXTEN(5) { public String getCode() {return "EX";} public String getName() {return "外部接口"; }},
    M_Mobile(6) { public String getCode() {return "MM";} public String getName() {return "手工：移动端"; }},
    M_Web(7) { public String getCode() {return "MW";} public String getName() {return "手动：网页"; }};

    public abstract String getName();
    public abstract String getCode();
    private final int value;
    OrderTypeEmit(int value) { this.value = value; }
    public int value() { return this.value; }
}
